<?php

//主人权限等级  --无视群设置等一切
define('PRI_MANAGER_LEV',5); 

//群管理权限等级  --需要遵守当前群的设置  具有共享词库权利
define('PRI_QUN_LEV',4); 


//普通管理员 具有删除词汇等权限     --需要遵守当前群的设置  具有共享词库权利
define('PRI_DEF_LEV',3); 

//真能删除词汇不具有共享词库权利
define('PRI_MIN_LEV',2); 

define('MESSAGE_TABLE','td_message_partition');
$cluster_param = array (
	'MEMBERCARDCHANGED_MESS' => "群成员改名通知 {0} 把昵称改为：{1}",
	'MEMBERCARDCHANGED_NUM' => 3,
	'MEMBERCARDCHANGED_ERROR_MESS' => "您好, 由于您修改名片过于频繁,后面的同样操作将不予播报~！",
	'QUITFROMCLUSTER_MESS' => "群：{2}[{3}]的成员:[{1}]({0})退出该群",
	'RECEIVENEWMEMBERADD_MESS' => "新成员：{0}[{1}]加入群：{2}[{3}]",
	'REMOVEDFROMCLUSTER_MESS' => "群：{2}[{3}]的成员:[{1}({4})]被管理员{0}移出该群",
	'ANTI_BRUSH_NUM' => 3,
	'ANTI_BRUSH_MESS' => "复读姬你好，复读姬再见~！",
	'STUDY_SUCCESS_MESS' => "我已经学会了，你可以问我了哦~！",
	'SERVICE_OPEN_MESS' => "抱歉，本群服务已被管理员关闭，要开启请让管理员@open 开启",
	'FORGET_STUDY_MESS' => "。。。真忘了！",
	'REPORT_NUMBER_ONE' => "水王~！",
	'AUTO_ALLOW_KEY' => "索妮娅",
	'AUTO_ALLOW_MODE' => "000",
	'SET_ADMIN_MESS' => "由于[{myname}({myqq})]在本群：[{clustername}({clusternum})]表现良好，被群主选为管理员0(>_<)0~~鼓掌~~",
	'REMOVE_ADMIN_MESS' => "由于[{myname}({myqq})]在本群：[{clustername}({clusternum})]担任管理员期间表现不佳，已被群主取消管理员身份╮(╯▽╰)╭",
	'REPORT_NUMBER_ONE_MESS' => "我只是来卖萌的~！",
	'FILTER_WORD_WARNING_MESS' => "警告：{0}你在本群发送禁语 “{1}” 已经{2}次了,如果发了{3} 次, 可能会被踢出本群, 谢谢合作！",
	'FILTER_WORD_T_MESS' => "很遗憾:{0}在本群发送禁语“{1}”已经超过了{2}次,可能会被踢出本群, 请各位遵守群规，谢谢！",
	'CLUSTER_FONT_MESS' => "还未设置,字体值的结构请输入 字体结构  来查看，注意 @match 要打开才看得到"
);

$admin = array (
	'261589289' => 5,
	'1415260477' => 4,
	'1312511548' => 5,
	'861656606' => 4,
	'564933095' => 3,
	'302581054' => 1,
	'1123144956' =>4,
	'2485704328' =>4,
	'130043740'=>4
);

$wkday_ar=array("日","一","二","三","四","五","六");
$replace_arr = array(
	'myname' => $_POST[Nick],
	'myqq' =>$_POST[Sender],
	'clustername' => $_POST[ClusterName],
	'clusternum' => $_POST[ClusterNum],
	'date' =>date("Y年m月d日",time()+8*3600),
	'time' =>date("H点i分s秒",time()+8*3600),
	'lastmess' => $_SESSION['message'],
	'llastmess' =>$_SESSION['message_old'],
	'mess' => $_POST[Message],
	'week' => "星期".$wkday_ar[date("w")],
	'num' =>$_SESSION['num'],
	'alt' =>'[@:'.$_POST[Sender].']',
	'age' =>$_POST[Age],
	'sex' =>$_POST[Gender]=="0"?"男":($_POST[Gender]=="1"?"女":"未知")
);

$question_arr = array(
	0 => array(
		'que' => '1.索妮娅的主人是谁?',
		'anw' => '丫丫'
	),
	1 => array(
		'que' => '2.索妮娅出自哪部动漫?',
		'anw' => '爱杀宝贝'
	),
	2 => array(
		'que' => '3.接问题2，这部动漫中另一位主角叫什么?',
		'anw' => '折部安奈'
	),
	3 => array(
		'que' => '4.索妮娅的帮助命令是什么?',
		'anw' => '@help'
	),
	4 => array(
		'que' => '5.索妮娅的黑名单命令是什么?',
		'anw' => '@blacklist'
	),
	5 => array(
		'que' => '6.如何进入索妮娅的群管理中心?',
		'anw' => '@群管理'
	),
//	,
//	6 => array(
//		'que' => '7.如果想将QQ号为261589289的人加入当前群黑名单3天，该如何操作?',
//		'anw' => '@blacklist <-261589289 3'
//	),
//	7 => array(
//		'que' => '8.如果想将QQ号为261589289的人移出当前群黑名单，该如何操作?',
//		'anw' => '@blacklist ->261589289'
//	),
	6 => array(
		'que' => '7.东方project里面，无节操指的是谁？',
		'anw' => '博丽灵梦',
		'ts' =>'提示：4个字'
	),
	7 => array(
		'que' => '8.东方project里面，⑨指的是谁？',
		'anw' => '琪露诺'
	),
	8 => array(
		'que' => '9.下列关于动量的说法中正确的是()
A.动量大的物体受到的力一定大
B.动量大的物体一定运动的快
C.动量大的物体的惯性一定大
D.动量大的物体的质量与速度的乘积一定大',
		'anw' => 'D'
	)
	,
	9 => array(
		'que' => '10.已知{an}为等差数列,若S(a)=b ,S(b)=a 且a≠b求S(a+b)=?',
		'anw' => '-(a+b)'
	)
	
	
)
?>
